package com.lenovo.testreport.online.web.smoke.mapper;

import com.lenovo.testreport.online.web.smoke.model.OnlineWebSmokeCase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author CJF
 * @date 2018/10
 * <p>
 * Mybatis逆向工程，自动生成。
 */
@Mapper
public interface OnlineWebSmokeCaseMapper {


    int deleteByPrimaryKey(@Param("tablename") String tablename, Integer cid);

    int insert(@Param("tablename") String tablename, OnlineWebSmokeCase record);

    int insertSelective(@Param("tablename") String tablename, OnlineWebSmokeCase record);

    OnlineWebSmokeCase selectByPrimaryKey(@Param("tablename") String tablename, Integer cid);

    int updateByPrimaryKeySelective(@Param("tablename") String tablename, OnlineWebSmokeCase record);

    int updateByPrimaryKey(@Param("tablename") String tablename, OnlineWebSmokeCase record);

    List<OnlineWebSmokeCase> selectByRid(@Param("tablename") String tablename, int rid);

    List<OnlineWebSmokeCase> selectByCid(@Param("tablename") String tablename, int id);

    int updateTrackByCid(@Param("tablename") String tablename, OnlineWebSmokeCase record);

}